package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

/**
 *
 * @author lyl
 * @created 2025/10/9 14:32
 * @description
 *
 */

public interface CourseService {
    PageResult<Course> getListByPage(String name, Integer subject, Integer target, Integer page, Integer pageSize);

    void add(Course course);

    void delete(Integer id);

    Course getCourseById(Integer id);

    void update(Course course);

    List<Course> getAllList();

    List<Course> getListBySubject(Integer subject);
}
